package com.iman.sumer.service.impl.teamgroup;

import java.util.List;
import java.util.Map;

import javax.inject.Inject;

import org.springframework.stereotype.Service;

import com.iman.common.hibernate.TemplateQLService;
import com.iman.sumer.service.teamgroup.GroupDynamicService;

@Service
public class GroupDynamicServiceImpl implements GroupDynamicService {
	@Inject
    private TemplateQLService templateQLService;


	@Override
	public List<Map> getGroupDynamicList(Map<String, Object> params) {
 		List<Map> vos = templateQLService.findBySQLMapQuery("group_dynamic_list", params);
		return vos;
	}

	@Override
	public List<Map> getGroupDynamicListTop3(Map<String, Object> params) {
		List<Map> vos = templateQLService.findBySQLMapQuery("group_dynamic_list_top3", params);
		return vos;
	}


}
